export default defineAppConfig({
  pages: [
    "pages/home/index", //
    "pages/user/index", //
    "pages/reInfo/index", //
    "pages/phone/index", //
    "pages/tree/index", //
    "pages/infochange/index", //
    "pages/member/index", //
  ],
  window: {
    backgroundTextStyle: "light",
    navigationBarBackgroundColor: "#fff",
    navigationBarTitleText: "WeChat",
    navigationBarTextStyle: "black",
  },
  tabBar: {
    color: '#444444',
    selectedColor: '#6190E8',
    backgroundColor: '#ffffff',
    list: [
      {
        pagePath: 'pages/home/index',
        text: '首页',
        iconPath: 'images/home.png',
        selectedIconPath: 'images/homed.png'
      },
      {
        pagePath: 'pages/reInfo/index',
        text: '我的荣誉',
        iconPath: 'images/me.png',
        selectedIconPath: 'images/med.png'
      }]
  },
  usingComponents: {  
    // 定义需要全局引入的第三方组件  
    'my-component': '/path/to/your/custom/component',  
    // 如果使用的是 npm 安装的组件库，可能是这样的路径  
    // 'taro-ui-component': 'taro-ui/dist/component',  
  }, 
  enableShareAppMessage: true,
  enableShareTimeline: true,
});
